package com.mbyte.easy.scraprecord.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.mbyte.easy.common.entity.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报废记录表
 * </p>
 *
 * @author lp
 * @since 2020-04-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_scraprecord")
public class Scraprecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 报废申请编号
     */
    private Integer scrapapplyId;

    /**
     * 报废记录编号
     */
    private Integer recordId;

    /**
     * 设备编号
     */
    private String equId;

    /**
     * 设备名称
     */
    private String equName;

    /**
     * 设备状态（1.同意2.驳回）
     */
    private Long equStatus;

    /**
     * 设备型号
     */
    private String equType;

    /**
     * 申请报废人id
     */
    private Long scrapProson;

    /**
     * 申请日期
     */
    private LocalDateTime scrapApplytime;

    /**
     * 审批人id
     */
    private Long approver;

    /**
     * 报废原因
     */
    private String scrapReason;

    /**
     * 报废时间
     */
    private LocalDateTime scrapCreatetime;

    /**
     * 备注
     */
    private String scrapRemake;


}
